package com.my.action;

import java.util.HashMap;
import java.util.List;


import com.my.service.BookService;
import com.my.util.ApplicationUtil;

public class VelocityMethod {
	
	BookService bookService = (BookService) ApplicationUtil.getBean("bookServiceImp");
	public  HashMap<String, Object> queryCountrys(){
		HashMap<String,Object>  wherMap= new HashMap<String,Object>();
		HashMap<String,Object>  ret= new HashMap<String,Object>();
		System.out.println("======================123333333");
		List<HashMap<String,Object>> country = bookService.queryCountry(wherMap);
		System.out.println("======================123333333"+country);
		ret.put("con", country);
		return ret;
	}

}
